#ifndef CUSTOMERRORDIALOG_H
#define CUSTOMERRORDIALOG_H

#include <QDialog>
#include<QLabel>
#include<QPushButton>
#include<QTextEdit>
#include<QVBoxLayout>
#include<QHBoxLayout>


class CustomErrorDialog : public QDialog
{
    Q_OBJECT
public:
    explicit CustomErrorDialog(QWidget *parent = 0);

    void setErrorInfo(QString qstr_ErrorInfo);

    QVBoxLayout* v_layout;
    QHBoxLayout* h_layout;

    QLabel* label_icon;
    QTextEdit* textEdit_errorInfoDes;
    QPushButton* btn_sure;



private slots:
    void okClicked();

};

#endif // CUSTOMERRORDIALOG_H
